package com.lw.system.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.lw.common.core.dao.BaseDAO;
import com.lw.system.model.Role;
@Mapper
public interface RoleMapper extends BaseDAO<Role, String> {
	public int add(Role role);

	public int remove(Role role);

	public int edit(Role role);

	public List<Role> findRoleAndResources(Role role);

	public int countRoles(Role role);

}